package com.example.springbootdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * BeanFactory 与 ApplicationContenr 的区别
 */
@SpringBootApplication
@MapperScan("com.example.springbootdemo.mapper")
public class SpringbootdemoApplication {
    private static final Logger log = LoggerFactory.getLogger(SpringbootdemoApplication.class);

    //有点东西啊小伙子，没别的意思哈哈
    public static void main(String[] args) {
        log.info("SpringbootdemoApplication start");
        SpringApplication.run(SpringbootdemoApplication.class);
    }


}
